package com.tem.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tem.common.jdbc.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 腾木科技
 * @date 2022/3/26 19:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user_setting")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="用户自定义系统设置")
public class SysUserSettingEntity extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)// ASSIGN_ID
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "常用应用")
    private String app;

    @ApiModelProperty(value = "企业")
    private Long sysBranchOfficeId;
}
